package cn.qingyun.gis.modules.enterprise.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 五大建筑场景表
 * </p>
 *
 * @author skb
 * @since 2024-03-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("building")
@ApiModel(value="Building对象", description="五大建筑场景表")
public class Building implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    @ApiModelProperty(value = "名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "地址")
    @TableField("address")
    private String address;

    @ApiModelProperty(value = "类型")
    @TableField("type")
    private String type;

    @ApiModelProperty(value = "类型名称")
    @TableField("type_name")
    private String typeName;

    @ApiModelProperty(value = "经度")
    @TableField("lon")
    private BigDecimal lon;

    @ApiModelProperty(value = "纬度")
    @TableField("lat")
    private BigDecimal lat;

    @ApiModelProperty(value = "面数据")
    @TableField("wkt")
    private String wkt;

    @ApiModelProperty(value = "归属网格编码")
    @TableField("grid_code")
    private String gridCode;

    @ApiModelProperty(value = "归属区县编码")
    @TableField("district_code")
    private String districtCode;

    @ApiModelProperty(value = "归属地市编码")
    @TableField("city_code")
    private String cityCode;

    @ApiModelProperty(value = "是否覆盖（0：未覆盖，1：已覆盖）")
    @TableField("is_cover")
    private Integer isCover;

    @ApiModelProperty(value = "是否合作（0：未合作，1：已合作）")
    @TableField("is_cooperate")
    private Integer isCooperate;

    @ApiModelProperty(value = "覆盖端口数")
    @TableField("all_port")
    private Integer allPort;

    @ApiModelProperty(value = "使用端口数")
    @TableField("used_port")
    private Integer usedPort;

    @ApiModelProperty(value = "细分小类（商业综合体：0，商务楼宇：1）")
    @TableField("sub_category")
    private String subCategory;


}
